package com.xywy.bloodandroid.base;

import java.util.List;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.xywy.bloodandroid.util.ImageLoader;

public class BasicAdapter<T> extends BaseAdapter {
    
	public Context context;
	public List<T> list;
	public ImageLoader loader;
	public List<T> list1;
	public Integer flag;
	

	public BasicAdapter(Context context, List<T> list) {
		this.context = context;
		this.list = list;
		loader = new ImageLoader();
		
	}
	
	

	@Override
	public int getCount() {
		return list.size();
	}

	@Override
	public Object getItem(int position) {
		return list.get(position);
	}

	@Override
	public long getItemId(int position) {
		return position;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		return null;
	}

}
